<?php

namespace app\api\validate;

use think\Validate;

class KeyLogin extends Validate
{
    protected $rule = [
        'phone' => 'require|mobile',
        'device' => 'require',
    ];

    protected $message = [
        'phone' => '手机号码格式不正确',
        'device' => '设备标识码不正确',
    ];
}